﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="uinitTotal.aspx.cs" Inherits="WorkOrder.uinitTotal" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>割接单数量_工单管理支持系统</title>
    <link href="../css/left.css" type="text/css" rel="STYLESHEET" />
    <link href="../css/site2.css" type="text/css" rel="STYLESHEET" />
    <link rel="Shortcut Icon" href="../favicon.ico" type="image/x-icon" />
    <script type="text/javascript" src="../DatePicker/WdatePicker.js" defer="defer"></script>
    <script language="javascript" type="text/javascript">        //加在head中，PNG无灰色背景
        var tmp = window.navigator.userAgent.toLowerCase().indexOf("MSIE");
        //加在head中，PNG无灰色背景
        function correctPNG() {
            for (var i = 0; i < document.images.length; i++) {
                var img = document.images[i];
                var imgName = img.src.toUpperCase();
                if (imgName.substring(imgName.length - 3, imgName.length) == "PNG") {
                    var imgID = (img.id) ? "id='" + img.id + "' " : "";
                    var imgClass = (img.className) ? "class='" + img.className + "' " : "";
                    var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ";
                    var imgStyle = "display:inline-block;" + img.style.cssText;
                    if (img.align == "left") imgStyle = "float:left;" + imgStyle;
                    if (img.align == "right") imgStyle = "float:right;" + imgStyle;
                    if (tmp >= 1) {
                        if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle;
                    }
                    else {
                        if (img.parentNode.href) imgStyle = "cursor:hand;" + imgStyle;
                    }
                    var strNewHTML = "<span " + imgID + imgClass + imgTitle + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
       + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>";
                    img.outerHTML = strNewHTML;

                }
            }
        }

        if (window.addEventListener) {
            window.addEventListener('DOMContentLoaded', correctPNG, false);   //firefox
            window.addEventListener('load', correctPNG, false);
        } else if (window.attachEvent) {
            window.attachEvent('onload', correctPNG);  //IE
        }
    </script>
    <script type="text/javascript">
        String.prototype.trim = function () {
            // 用正则表达式将前后空格，用空字符串替代。
            return this.replace(/(^\s*)|(\s*$)/g, "");
        }
    </script>
</head>
<body style="margin: 0 0 0 0; background-color: #fff; border-left: solid 1px #54a6e2;">
    <form id="form1" runat="server">
    <div>
        <table id="weizhi" width="100%;" style="border: none 0;">
            <tr>
                <td style="height: 2px;">
                </td>
            </tr>
            <tr>
                <td style="border: solid 1px #9fd6ff; background-image: url('../images/snap3.jpg');
                    height: 24px; color: #0930a5;">
                    &nbsp;&nbsp;<img align="absmiddle" src="../images/doc3.gif" />&nbsp;&nbsp;当前位置：某时段内各单位的割接单数量
                </td>
            </tr>
            <tr>
                <td style="height: 1px;">
                </td>
            </tr>
        </table>
        <table width="100%" border="0">
            <tr>
                <td>
                    <div style="border: solid 1px #9fd6ff; background-color: #f0f8ff">
                        <table style="width: 100%">
                            <tr>
                                <td style="width: 10px;">
                                </td>
                                <td>
                                    <table border="0" style="width: 100%">
                                        <tr>
                                            <td style="height: 24px; width: 150px" align="left">
                                                <select id="seleUnit" runat="server" class="TextBox" style="width: 120px; border: soild 1px">
                                                    <option value="1">集成单位</option>
                                                    <option value="2">软调单位</option>
                                                    <option value="3">监理单位</option>
                                                </select>
                                            </td>
                                            <td style="width: 100px">
                                                时间范围：
                                            </td>
                                            <td>
                                                <input type="text" class="TextBox" id="txtSTART_DATE" style="width: 120px;" runat="server"
                                                    onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />&nbsp;至&nbsp;<input type="text"
                                                        class="TextBox" id="txtEND_DATE" runat="server" style="width: 120px;" onfocus="WdatePicker({skin:'whyGreen',readOnly:'true'});" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="height: 24px; width: 150px" align="left">
                                                &nbsp;
                                            </td>
                                            <td colspan="2">
                                                <asp:Button ID="btnSearch" runat="server" Text="&nbsp;&nbsp;查&nbsp;&nbsp;询&nbsp;&nbsp;"
                                                    CssClass="Button" OnClick="btnSearch_Click" />&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label
                                                        ID="lblMsg" runat="server" Text="" ForeColor="Red"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
        <table style="width: 100%">
            <tr>
                <td>
                    <div style="border: solid 1px #9fd6ff; background-color: #d4f1f9; border-bottom: none;">
                        <table style="width: 100%">
                            <tr>
                                <td style="height: 20px;">
                                    &nbsp;&nbsp;<img alt="" align="absmiddle" src="../images/181.gif" />&nbsp; <strong>查询结果</strong>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="divgv" style="border: solid 1px #9fd6ff; background-color: #f0f8ff; display: block;">
                        <table width="100%">
                            <tr>
                                <td style="width: 10px;">
                                    &nbsp;
                                </td>
                                <td>
                                    <br />
                                    <strong>语音专线</strong><br />
                                    <asp:GridView ID="grv1" runat="server" CssClass="Table" OnRowDataBound="gvReport_RowDataBound"
                                        EmptyDataText="[没有可显示的数据]" CellPadding="5" CellSpacing="0" AutoGenerateColumns="False">
                                        <RowStyle HorizontalAlign="Center" />
                                        <HeaderStyle CssClass="gridtitle" />
                                        <Columns>
                                            <asp:BoundField DataField="单位" HeaderText="单位">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="计划">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="试通">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="软调">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="拨测">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="交付">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="回访">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="计划+试通">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                        </Columns>
                                    </asp:GridView>
                                    <br />
                                    <strong>数据专线</strong><br />
                                    <asp:GridView ID="grv2" runat="server" CssClass="Table" OnRowDataBound="gvReport_RowDataBound"
                                        EmptyDataText="[没有可显示的数据]" CellPadding="5" CellSpacing="0" AutoGenerateColumns="False">
                                        <RowStyle HorizontalAlign="Center" />
                                        <HeaderStyle CssClass="gridtitle" />
                                        <Columns>
                                            <asp:BoundField DataField="单位" HeaderText="单位">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="计划">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="试通">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="软调">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="拨测">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="交付">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="回访">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="" HeaderText="计划+试通">
                                                <ItemStyle HorizontalAlign="Center" Width="80px" />
                                            </asp:BoundField>
                                        </Columns>
                                    </asp:GridView>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 10px;">
                                    &nbsp;
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
